$color:#07C160;
$backgroundColor:#EAE8E7;
$imgSize: 40px;
.contacts {
    width: 100%;
    height: 100%;
    display: flex;

    .contacts-left {
        width: 18%;
        height: 100%;
        border-right: 1px solid #D6D6D6;
        background: $backgroundColor;

        .user-list-box {
            overflow: hidden;

            .letter {
                padding: 10px;
                color: #999999;
            }

            &>li {
                border-bottom: 1px solid #D6D6D6;
            }

          
        }
        .user-list {
            .active, .active:hover {
                background-color: #C4C4C5;
            }
            .user-icon {
                width: $imgSize;
                height: $imgSize;
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;
                .ant-badge {
                    position: absolute;
                    right: -10px;
                    top: -10px;
                }
            }
            li {
                padding: 10px;
                box-sizing: border-box;
                height: 65px;
                display: flex;
                cursor: default;
                align-items: center;

                &:hover {
                    background-color: #DCDBDA;
                }

                .headimgurl {
                    width: $imgSize;
                    height: $imgSize;

                    img {
                        height: 100%;
                        width: 100%;
                        border-radius: 4px;
                    }
                }

                .name {
                    padding-left: 12px;
                    width: calc(100% - 55px);

                }
            }
        }
        .search-user {
            height: 65px;
            position: relative;
            width: 100%;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            background: #F7F7F7;
            border-top: 1px solid #D6D6D6;
            &:hover {
                background-color: $backgroundColor;
            }

            &>div {
                height: 65px;
                text-align: center;
                line-height: 65px;
            }

            .search-middle {
                order: 2;
                flex: auto 1 0;
                padding-left: 10px;
                display: flex;
                align-items: center;
                span {
                    width: 180px;
                    color: $color;
                    display: inline-block;
                    text-align: left;
                }
            }

            .search-prefix {
                order: 1;
                flex: 50px 0 0;

                .ant-btn-primary {
                    background: $color !important;
                    border-color: $color !important;
                }
            }

            .search-suffix {
                order: 3;
                flex: 50px 0 0;
            }
        }

    }

    .userInfo-box {
        width: calc(82% - 1px);
        display: flex;
        justify-content: center;
        padding-top: 100px;
    }
}